package com.sqx.modules.health.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.modules.health.entity.Record;

import java.net.MalformedURLException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gxy
 * @since 2022-07-14
 */
public interface IRecordService extends IService<Record> {

    Record getOneByDevSn(String devSN, Integer type);

    Record getLastTest(Long uid);

    Record getRecord(Long id, String today, Integer type);

    String sendPat(JSONObject jsonObject);

    String downLoadReoprt(Record ruser) throws MalformedURLException;

    Record getLastRecord(String imei);

}
